﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true"
    CodeFile="ThietLapPhieuChiTienMat.aspx.cs" Inherits="ThietLapPhieuChiTienMat" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        function CallPrint(strid) {
            var prtContent = document.getElementById(strid);
            var WinPrint = window.open('', '', 'letf=0,top=0,width=1200px,height=650px,toolbar=0,scrollbars=0,status=0');
            WinPrint.document.write(prtContent.innerHTML);
            WinPrint.document.close();
            WinPrint.focus();
            WinPrint.print();
            WinPrint.close();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="up1" runat="server">
        <ContentTemplate>
            <div class="panel panel-success margin">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        Thiết lập phiếu chi tiền mặt</h3>
                </div>
                <div class="panel-body">
                    <table width="100%">
                        <tr>
                            <td width="15%">
                                <span style="margin-left: 5px;">Ngày tháng</span><br />
                                <asp:TextBox ID="txtngaythang" runat="server" CssClass="form-control with98"></asp:TextBox>
                                <cc1:CalendarExtender PopupPosition="BottomRight" ID="CalendarExtender3" runat="server"
                                    TargetControlID="txtngaythang" Format="dd/MM/yyyy">
                                </cc1:CalendarExtender>
                                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" FilterType="Custom,Numbers"
                                    TargetControlID="txtngaythang" ValidChars="/" />
                                <asp:RequiredFieldValidator ValidationGroup="Them" ID="RequiredFieldValidator4" runat="server"
                                    ControlToValidate="txtngaythang" ErrorMessage="Chọn ngày tháng" Display="None"
                                    Text="*"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                <span style="margin-left: 5px;">Họ tên</span><br />
                                <asp:DropDownList runat="server" CssClass="form-control width98" ID="drnhanvien"
                                    DataValueField="IDs" DataTextField="hoten" AutoPostBack="true" OnSelectedIndexChanged="drnhanvien_SelectedIndexChanged">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ValidationGroup="Them" ID="RequiredFieldValidator1" runat="server"
                                    ControlToValidate="drnhanvien" ErrorMessage="Chọn nhân viên" Display="None" Text="*"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                Bộ phận<br />
                                <asp:TextBox runat="server" CssClass="form-control with98" ID="txtbophan">
                                </asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <span style="margin-left: 5px;">Chức vụ</span><br />
                                <asp:TextBox runat="server" CssClass="form-control width98" ID="txtchucvu">
                                </asp:TextBox>
                            </td>
                            <td>
                                Số tiền<br />
                                <asp:TextBox ID="txtsotien" CssClass="form-control width98" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ValidationGroup="Them" ID="RequiredFieldValidator2" runat="server"
                                    ControlToValidate="txtsotien" ErrorMessage="Chọn số tiền" Display="None" Text="*"></asp:RequiredFieldValidator>
                                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" FilterType="Custom,Numbers"
                                    TargetControlID="txtsotien" ValidChars=",." />
                            </td>
                            <td>
                                <span style="margin-left: 5px;">
                                    <br />
                                    <asp:CheckBox ID="ckungluong" runat="server" Text="Ứng lương" /></span> <span style="margin-left: 5px;">
                                        <asp:CheckBox ID="cktinhchochiha" Visible="false" runat="server" Text="Không tính cho chị Hà" /></span>

                                        <span style="margin-left: 5px;">
                                        <asp:CheckBox ID="ckthunganhang" runat="server" Visible="true" 
                                    Text="Nộp ngân hàng" oncheckedchanged="ckthunganhang_CheckedChanged" AutoPostBack="true" /></span>
                                        <asp:DropDownList ID="drtaikhoan" Visible="false" DataTextField="TaiKhoan" DataValueField="IDs" Width="200px"
                                    CssClass="form-control" runat="server">
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3">
                                <asp:GridView ID="GV1" Visible="true" AutoGenerateColumns="false" runat="server"
                                    BackColor="White" Font-Size="14px" Width="100%" BorderColor="#CCCCCC" EmptyDataText="Không có dữ liệu nào"
                                    BorderStyle="None" BorderWidth="1px" CellPadding="3" EnableModelValidation="True"
                                    OnRowDeleting="gv_RowDeleting">
                                    <Columns>
                                        <asp:BoundField DataField="RowNumber" HeaderText="STT" HeaderStyle-Width="50px" HeaderStyle-HorizontalAlign="Center"
                                            ItemStyle-HorizontalAlign="Center"></asp:BoundField>
                                        <asp:TemplateField HeaderText="Nội dung" ItemStyle-HorizontalAlign="Center">
                                            <ItemTemplate>
                                                <asp:TextBox ID="txtnoidung" runat="server" Width="98%"></asp:TextBox>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:CommandField HeaderText="Xóa" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="45px"
                                            ShowDeleteButton="True" DeleteText="Xóa" />
                                    </Columns>
                                    <FooterStyle BackColor="#6EA1C0" ForeColor="#000066" />
                                    <HeaderStyle BackColor="#6EA1C0" Font-Bold="True" ForeColor="White" Height="40px"
                                        HorizontalAlign="Center" VerticalAlign="Middle" />
                                    <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                                    <RowStyle ForeColor="#000066" Height="30px" />
                                    <SelectedRowStyle BackColor="#F1F1F1" Font-Bold="True" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding: 10px">
                                <asp:DropDownList Visible="false" ID="drtt" CssClass="form-control width98" AutoPostBack="true"
                                    DataTextField="sophieutt" DataValueField="ids" runat="server">
                                </asp:DropDownList>
                                <asp:Button ID="btnAdd" ValidationGroup="add" runat="server" Text="Thêm nội dung"
                                    CssClass="btn btn-info" OnClick="btnAdd_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6">
                                <asp:Button ID="btnSave" ValidationGroup="Them" runat="server" Style="margin-left: 5px;"
                                    Text="Lưu lại" CssClass="btn btn-primary" OnClick="btnSave_Click" />
                                <asp:Button ID="btncapnhat" runat="server" Text="Cập nhật" CssClass="btn btn-info"
                                    Visible="false" OnClick="btncapnhat_Click" />
                                <asp:Button ID="btnCancel" runat="server" Text="Nhập mới" CssClass="btn btn-warning"
                                    OnClick="btnCancel_Click" />
                            </td>
                        </tr>
                    </table>
                    <asp:ValidationSummary ID="ValidationSummary1" HeaderText="Bạn phải nhập các trường sau:"
                        ShowMessageBox="true" ValidationGroup="Them" ShowSummary="false" EnableClientScript="true"
                        runat="server" />
                </div>
            </div>
            <div style="margin: 5px;">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        Danh sách phiếu chi</div>
                    <%--<div style="margin-bottom: 5px;">
                        <div style="margin-bottom: 5px;">
                            <asp:DropDownList ID="drthang" runat="server" Width="150px" CssClass="form-control"
                                OnSelectedIndexChanged="drthang_SelectedIndexChanged" AutoPostBack="true">
                                <asp:ListItem Text="Tháng 1" Value="1"></asp:ListItem>
                                <asp:ListItem Text="Tháng 2" Value="2"></asp:ListItem>
                                <asp:ListItem Text="Tháng 3" Value="3"></asp:ListItem>
                                <asp:ListItem Text="Tháng 4" Value="4"></asp:ListItem>
                                <asp:ListItem Text="Tháng 5" Value="5"></asp:ListItem>
                                <asp:ListItem Text="Tháng 6" Value="6"></asp:ListItem>
                                <asp:ListItem Text="Tháng 7" Value="7"></asp:ListItem>
                                <asp:ListItem Text="Tháng 8" Value="8"></asp:ListItem>
                                <asp:ListItem Text="Tháng 9" Value="9"></asp:ListItem>
                                <asp:ListItem Text="Tháng 10" Value="10"></asp:ListItem>
                                <asp:ListItem Text="Tháng 11" Value="11"></asp:ListItem>
                                <asp:ListItem Text="Tháng 12" Value="12"></asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="drnam" runat="server" Width="140px" CssClass="form-control"
                                OnSelectedIndexChanged="drthang_SelectedIndexChanged" AutoPostBack="true">
                            </asp:DropDownList>
                            <asp:DropDownList ID="dlnhanvien" runat="server" DataValueField="nhanvien" Width="250px"
                                CssClass="form-control" DataTextField="hoten">
                            </asp:DropDownList>
                            <asp:Button ID="btnxempc" CssClass="btn btn-warning" runat="server" Text="Xem phiếu chi"
                                OnClick="btnxempc_Click" />
                        </div>
                    </div>--%>
                    <div style="width: 100%; margin-top: 10px; overflow: auto;" class="wrapper">
                        <div style="width: 100%; max-height: 300px;">
                            <asp:GridView ID="GV" runat="server" AutoGenerateColumns="false" BackColor="White"
                                Visible="false" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="1"
                                EmptyDataText="Không có dữ liệu nào" EnableModelValidation="True" ShowFooter="true"
                                CssClass="form-control withall" Width="99%" OnRowCommand="GV_RowCommand">
                                <Columns>
                                    <asp:TemplateField HeaderText="Xóa" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="50px"
                                        ItemStyle-Width="50px">
                                        <ItemTemplate>
                                            <asp:ImageButton ID="lbXoa" runat="server" Width="20px" Height="20px" ImageUrl="~/img/delete-24.png"
                                                OnClientClick="return confirm('Bạn chắc chắn muốn xóa ?')" CommandArgument='<%#Eval("IDs")%>'
                                                Text="Xóa" CommandName="Del" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Sửa" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="50px"
                                        ItemStyle-Width="50px">
                                        <ItemTemplate>
                                            <asp:ImageButton ID="lbSua" runat="server" Width="15px" Height="15px" ImageUrl="~/img/edit.ico"
                                                CommandArgument='<%#Eval("IDs")%>' Text="Sửa" CommandName="Select" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="ngaythang" ItemStyle-CssClass="padding" HeaderText="Ngày tháng"
                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                    <asp:BoundField DataField="hoten" ItemStyle-CssClass="padding" HeaderText="Họ tên"
                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                    <asp:TemplateField HeaderText="Số PC" ItemStyle-HorizontalAlign="Left" ItemStyle-CssClass="padding">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbSua11" Style="color: #000066;" runat="server" Text='<%#Eval("sopc") %>'
                                                CommandArgument='<%#Eval("ids")%>' CommandName="chitiet" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="sotien" DataFormatString="{0:0,0}" ItemStyle-CssClass="padding"
                                        HeaderText="Số tiền" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                                    <asp:BoundField DataField="noidung" ItemStyle-CssClass="padding" HeaderText="Nội dung"
                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                    <asp:TemplateField HeaderText="Số PTT" ItemStyle-HorizontalAlign="Left" ItemStyle-CssClass="padding">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbSua113" Style="color: #000066;" runat="server" Text='<%#Eval("SoPhieuTT") %>'
                                                CommandArgument='<%#Eval("mathanhtoan")%>' CommandName="chitietthanhtoan" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Số phiếu thu" ItemStyle-HorizontalAlign="Left" ItemStyle-CssClass="padding">
                                        <ItemTemplate>
                                            <asp:LinkButton ID="lbSua1112" Style="color: #000066;" runat="server" Text='<%#Eval("sophieuthu") %>'
                                                CommandArgument='<%#Eval("maphieuthu")%>' CommandName="chitietphieuthu" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <%-- <asp:BoundField DataField="sohoanttt" ItemStyle-CssClass="padding" HeaderText="Số hoàn TT"
                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />--%>
                                </Columns>
                                <FooterStyle BackColor="White" ForeColor="#000066" Font-Bold="True" HorizontalAlign="Left" />
                                <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black" Height="30px" />
                                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                <RowStyle BackColor="White" ForeColor="#000066" Height="30px" />
                                <SelectedRowStyle BackColor="Lavender" Font-Bold="false" />
                            </asp:GridView>
                        </div>
                    </div>
                    <div style="margin: 5px;">
                        <%-- <asp:Button ID="btnFirst" runat="server" Text="Đầu" CssClass="btn btn-primary" OnClick="btnFirst_Click" />
                        <asp:Button ID="btnPre" runat="server" Style="margin-left: 5px;" Text="Trước" CssClass="btn btn-primary"
                            OnClick="btnPre_Click" />
                        <asp:Button ID="btnNext" runat="server" Style="margin-left: 5px;" Text="Sau" CssClass="btn btn-warning"
                            OnClick="btnNext_Click" />--%>
                        <div style="margin-bottom: 5px;">
                            <asp:DropDownList ID="dlThang" runat="server" Width="150px" AutoPostBack="true" CssClass="form-control"
                                OnSelectedIndexChanged="dlThang_SelectedIndexChanged">
                            </asp:DropDownList>
                            <asp:DropDownList ID="dlNam" runat="server" Width="110px" CssClass="form-control">
                            </asp:DropDownList>
                            <asp:TextBox ID="txtTuNgay" runat="server" placeholder="Từ ngày" Visible="true" Width="100px"
                                CssClass="form-control"></asp:TextBox>&nbsp;
                            <asp:TextBox ID="txtDenNgay" runat="server" placeholder="Đến ngày" AutoPostBack="true"
                                Visible="true" Width="100px" CssClass="form-control"></asp:TextBox>
                            <cc1:CalendarExtender ID="CalendarExtender11" runat="server" TargetControlID="txtTuNgay"
                                Format="dd/MM/yyyy">
                            </cc1:CalendarExtender>
                            <cc1:CalendarExtender ID="CalendarExtender111" runat="server" TargetControlID="txtDenNgay"
                                Format="dd/MM/yyyy">
                            </cc1:CalendarExtender>
                            <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender9" runat="server" FilterType="Custom,Numbers"
                                TargetControlID="txtTuNgay" ValidChars="/-" />
                            <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender10" runat="server" FilterType="Custom,Numbers"
                                TargetControlID="txtDenNgay" ValidChars="/-" />
                            <asp:DropDownList ID="dropNhanVien" DataTextField="NguoiChi" DataValueField="NguoiChi"
                                runat="server" Width="140px" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="dropNhanVien_SelectedIndexChanged">
                            </asp:DropDownList>
                            <asp:DropDownList ID="dropnhacungcap" DataTextField="NguoiChi" DataValueField="NguoiChi"
                                runat="server" Width="140px" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="dropnhacungcap_SelectedIndexChanged">
                            </asp:DropDownList>
                            <asp:DropDownList ID="dropnoidungnhanvien" DataTextField="noidung" DataValueField="noidung"
                                Visible="false" runat="server" Width="140px" CssClass="form-control" AutoPostBack="true"
                                OnSelectedIndexChanged="dropnoidungnhanvien_SelectedIndexChanged">
                            </asp:DropDownList>
                            <asp:DropDownList ID="dropnoidungnhacungcap" DataTextField="noidung" DataValueField="noidung"
                                Visible="false" runat="server" Width="140px" CssClass="form-control" AutoPostBack="true"
                                OnSelectedIndexChanged="dropnoidungnhacungcap_SelectedIndexChanged">
                            </asp:DropDownList>
                            <asp:Button ID="Button1" CssClass="btn btn-warning" runat="server" Text="Xem nhà cung cấp"
                                OnClick="btnXem_Click" />
                            <asp:Button ID="Button2" CssClass="btn btn-primary" runat="server" Text="Xem nhân viên"
                                OnClick="Button2_Click" />
                            <asp:Button ID="Button9" CssClass="btn btn-warning" runat="server" Text="In DS phiếu chi"
                                OnClick="Button9_Click" />
                        </div>
                        <div style="width: 100%; margin-top: 10px; overflow: auto;" class="wrapper">
                            <div style="width: 100%; max-height: 300px;">
                                <asp:GridView ID="GVPhieuChi" runat="server" AutoGenerateColumns="false" BackColor="White"
                                    BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="1" EmptyDataText="Không có dữ liệu nào"
                                    EnableModelValidation="True" ShowFooter="true" CssClass="form-control withall"
                                    OnRowCommand="GV_RowCommand" Width="99%">
                                    <Columns>
                                        <asp:TemplateField HeaderText="Xóa" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="50px"
                                            ItemStyle-Width="50px">
                                            <ItemTemplate>
                                                <asp:ImageButton ID="lbXoa" runat="server" Width="20px" Height="20px" ImageUrl="~/img/delete-24.png"
                                                    OnClientClick="return confirm('Bạn chắc chắn muốn xóa ?')" CommandArgument='<%#Eval("IDs")%>'
                                                    Text="Xóa" CommandName="Del" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Sửa" ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="50px"
                                            ItemStyle-Width="50px">
                                            <ItemTemplate>
                                                <asp:ImageButton ID="lbSua" runat="server" Width="15px" Height="15px" ImageUrl="~/img/edit.ico"
                                                    CommandArgument='<%#Eval("IDs")%>' Text="Sửa" CommandName="Select" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="ngaythang" ItemStyle-CssClass="padding" HeaderText="Ngày tháng"
                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                        <asp:BoundField DataField="NguoiChi" ItemStyle-CssClass="padding" HeaderText="Người chi-Nhà cung cấp"
                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                        <asp:TemplateField HeaderText="Số PC" ItemStyle-HorizontalAlign="Left" ItemStyle-CssClass="padding">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lbSua11" Style="color: #000066;" runat="server" Text='<%#Eval("sopc") %>'
                                                    CommandArgument='<%#Eval("ids")%>' CommandName="chitiet" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="noidung" ItemStyle-CssClass="padding" HeaderText="Nội dung"
                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                        <asp:BoundField DataField="sotien" DataFormatString="{0:0,0}" ItemStyle-CssClass="padding"
                                            HeaderText="Số tiền" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                                       <asp:BoundField DataField="sophieutt" ItemStyle-CssClass="padding" HeaderText="Số PTT"
                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                        <asp:TemplateField HeaderText="Số phiếu thu" ItemStyle-HorizontalAlign="Left" ItemStyle-CssClass="padding">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lbSua1112" Style="color: #000066;" runat="server" Text='<%#Eval("sophieuthu") %>'
                                                    CommandArgument='<%#Eval("maphieuthu")%>' CommandName="chitietphieuthu" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                       <asp:BoundField DataField="sotienconlai" ItemStyle-CssClass="padding" HeaderText="Số tiền còn lại"
                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                    </Columns>
                                    <FooterStyle BackColor="White" ForeColor="#000066" Font-Bold="True" HorizontalAlign="Left" />
                                    <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black" Height="30px" />
                                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                    <RowStyle BackColor="White" ForeColor="#000066" Height="30px" />
                                    <SelectedRowStyle BackColor="Lavender" Font-Bold="false" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <asp:HiddenField ID="hdID" runat="server" />
            <asp:HiddenField ID="hdTuNgay" runat="server" />
            <asp:HiddenField ID="hdDenNgay" runat="server" />
            <asp:HiddenField ID="HiddenField1" runat="server" />
            </div>
            <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" CancelControlID="Image1"
                Drag="True" TargetControlID="hdTuNgay" BackgroundCssClass="modalBackground" PopupControlID="Panel1"
                RepositionMode="RepositionOnWindowResize">
            </cc1:ModalPopupExtender>
           <asp:Panel ID="Panel1" runat="server" Style="display: none;">
          
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="Image1" Width="30px" Height="25px" Style="cursor: pointer;" runat="server"
                                ImageUrl="img/close.ico" ToolTip="Đóng" />
                        </td>
                    </tr>
                </table>
                   <div style="width: 100%; margin-top: 10px; overflow: auto;" class="wrapper">
                            <div style="width: 100%; max-height: 500px;">
                <div style="background-image: url('img/content.png'); background-repeat: repeat;
                    width: 1000px; box-shadow: 5px 5px 5px #888; border-radius: 10px; border: 1px solid #6EA1C0;
                    margin-top: -10px;">
                    <div style="background-color: #5B5B5B; color: White; font-weight: bold; border-radius: 5px 5px 0px 0px;
                        text-align: center; line-height: 26px; overflow: hidden;">
                        Chi tiết phiếu thu
                    </div>
                    <center>
                        <div id="DivThu">
                            <table style="margin-top: 15px; padding: 5px; margin-left: 50px; margin-right: 20px;">
                                <tr>
                                    <td style="font-size: 20px;">
                                        CÔNG TY CPXD ĐỨC ANH
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <span style="margin: 80px;">Cộng hòa xã hội chủ nghĩa Việt Nam
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        <span style="margin: 5px;">CN BÊ TÔNG LÂM THAO</span>
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <span style="margin: 105px;">Độc lập – Tự do – Hạnh phúc</span>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                    </td>
                                    <td colspan="3">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                    <td align="right" style="font-size: 20px;">
                                        <span style="margin: 5px;">Lâm Thao, ngày</span><asp:Label ID="thungaythang" runat="server"></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" align="center" style="font-size: 20px;">
                                        PHIẾU THU TIỀN MẶT
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Họ tên:
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <asp:Label ID="thuhoten" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Bộ phận:
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <asp:Label ID="thubophan" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Chức vụ:
                                    </td>
                                    <td style="font-size: 18px;" colspan="2">
                                        <asp:Label ID="thuchucvu" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu thu:
                                    </td>
                                    <td style="font-size: 20px;">
                                        <asp:Label ID="thusophieu" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu thanh toán:
                                    </td>
                                    <td style="font-size: 20px;">
                                        <asp:Label ID="thusott" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu chi:
                                    </td>
                                    <td style="font-size: 20px;">
                                        <asp:Label ID="thusopc" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                    
                                        <asp:GridView ID="GridView3" runat="server" AutoGenerateColumns="false" BackColor="White"
                                            Width="900px" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="1"
                                            EmptyDataText="Không có dữ liệu nào" EnableModelValidation="True" ShowFooter="true"
                                            CssClass="form-pc">
                                            <Columns>
                                                <asp:BoundField DataField="number"   ItemStyle-CssClass="padding1" HeaderText="STT"
                                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="noidung" ItemStyle-CssClass="padding" HeaderText="Nội dung thu"
                                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="sotien"   ItemStyle-CssClass="padding1" HeaderText="Số tiền"
                                                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                            </Columns>
                                        </asp:GridView>
                                       
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="font-size: 20px;" colspan="4">
                                        Viết bằng chữ:
                                        <asp:Label ID="thuvietbangchu" runat="server"></asp:Label>
                                    </td>
                                </tr>
                               <tr>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 25px;">Giám Đốc</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 75px;"> Thủ quĩ</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 35px;">Trưởng phòng HCTH</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 35px;">Người nhận tiền</span>
                                    </td>
                                </tr>
                                 <tr>
                                    <td colspan="4">
                                     <br />
                                    </td>
                                </tr>
                                 <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="font-size: 18px;">
                                       Nguyễn Đức Anh
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 20px;"> Hoàng Thị Huyền Trang</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 65px;">Hà Thị Ngân</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 25px;"></span>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </center>
                    <div>
                        <table style="margin-top: 15px; padding: 5px; margin-left: 50px; margin-right: 20px;">
                            <tr>
                                <td colspan="4" align="right">
                                    <asp:Button ID="Button3" runat="server" Text="In Phiếu Thu" CssClass="btn btn-primary"
                                        OnClientClick="javascript:CallPrint('DivThu')" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div></div></div>
            </asp:Panel>
            <cc1:ModalPopupExtender ID="chitietthanhtoan" runat="server" CancelControlID="close"
                Drag="True" TargetControlID="HiddenField1" BackgroundCssClass="modalBackground"
                PopupControlID="cttt" RepositionMode="RepositionOnWindowResize">
            </cc1:ModalPopupExtender>
             <asp:Panel ID="cttt" runat="server" Style="display: none;">
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="close" Width="30px" Height="25px" Style="cursor: pointer;" runat="server"
                                ImageUrl="img/close.ico" ToolTip="Đóng" />
                        </td>
                    </tr>
                </table>
                <div style="background-image: url('img/content.png'); background-repeat: repeat;
                    width: 1000px; box-shadow: 5px 5px 5px #888; border-radius: 10px; border: 1px solid #6EA1C0;
                    margin-top: -10px;">
                    <div style="background-color: #5B5B5B; color: White; font-weight: bold; border-radius: 5px 5px 0px 0px;
                        text-align: center; line-height: 26px; overflow: hidden;">
                        Chi tiết thanh toán
                    </div>
                    <center><div style="width: 100%; margin-top: 10px; overflow: auto;" class="wrapper">
                            <div style="width: 100%; max-height: 500px;">
                        <div id="DivChi">
                            <table style="margin-top: 15px; padding: 5px; margin-left: 50px; margin-right: 20px;">
                                <tr>
                                    <td style="font-size: 16px;">
                                        CÔNG TY CPXD ĐỨC ANH
                                    </td>
                                    <td style="font-size: 18px;" colspan="2">
                                        <span style="margin: 80px;">Cộng hòa xã hội chủ nghĩa Việt Nam
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 16px;">
                                        <span style="margin: 5px;">CN BÊ TÔNG LÂM THAO</span>
                                    </td>
                                    <td style="font-size: 18px;" colspan="2">
                                        <span style="margin: 105px;">Độc lập – Tự do – Hạnh phúc</span>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                    </td>
                                    <td colspan="3">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                    <td align="right" style="font-size: 18px;">
                                        <span style="margin: 5px;">Lâm Thao, ngày</span><asp:Label ID="ttngaythang" runat="server"></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" align="center" style="font-size: 22px;">
                                        GIẤY ĐỀ NGHỊ THANH TOÁN
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Họ tên:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3">
                                        <asp:Label ID="tthoten" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Bộ phận:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3">
                                        <asp:Label ID="ttbophan" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Chức vụ:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3">
                                        <asp:Label ID="ttchucvu" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;" >
                                        Số phiếu thanh toán:
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <asp:Label ID="ttsophieu" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;" >
                                        Số phiếu chi:
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <asp:Literal ID="ltlFirst" Mode="PassThrough" Text="," runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu thu:
                                    </td>
                                    <td style="font-size: 20px;">
                                        <asp:Label ID="lbphieuthu" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <div style="width: 100%; margin-top: 10px; overflow: auto;" class="wrapper">
                                            <div style="width: 100%; max-height: 400px;">
                                                <asp:GridView ID="GVDoiTuong" runat="server" AutoGenerateColumns="false" BackColor="White"
                                                    BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="1" EmptyDataText="Không có dữ liệu nào"
                                                    EnableModelValidation="True" ShowFooter="true" Width="880px" CssClass="form-pc">
                                                    <Columns>
                                                        <asp:BoundField DataField="number" ItemStyle-CssClass="padding1" HeaderText="STT"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                                        <asp:BoundField DataField="ngaythang" ItemStyle-CssClass="padding" HeaderText="Ngày tháng"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                                        <asp:BoundField DataField="noidung" ItemStyle-CssClass="padding" HeaderText="Nội dung"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                                        <asp:BoundField DataField="donvi" ItemStyle-CssClass="padding" HeaderText="Đơn vị"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="soluong" ItemStyle-CssClass="padding" HeaderText="Số lượng"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="dongia" ItemStyle-CssClass="padding" HeaderText="Đơn giá"
                                                            HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />
                                                        <asp:BoundField DataField="thanhtien" DataFormatString="{0:0,0}" ItemStyle-CssClass="padding"
                                                            HeaderText="Thành tiền" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                                                        <%--  <asp:BoundField DataField="mathietbi" ItemStyle-CssClass="padding" HeaderText="Mã thiết bị"
                                HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" />--%>
                                                    </Columns>
                                                    <FooterStyle BackColor="White" ForeColor="#000066" Font-Bold="True" HorizontalAlign="Left" />
                                                    <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black" Height="30px" />
                                                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                                    <RowStyle BackColor="White" ForeColor="#000066" Height="30px" />
                                                    <SelectedRowStyle BackColor="Lavender" Font-Bold="false" />
                                                </asp:GridView>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                               
                              <tr>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 25px;">Giám Đốc</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 65px;"> Thủ quĩ</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 35px;">Trưởng phòng HCTH</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 35px;">Người thanh toán</span>
                                    </td>
                                </tr>
                                 <tr>
                                    <td colspan="4">
                                     <br />
                                    </td>
                                </tr>
                                 <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="font-size: 18px;">
                                       Nguyễn Đức Anh
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 15px;"> Hoàng Thị Huyền Trang</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 65px;">Hà Thị Ngân</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 25px;"></span>
                                    </td>
                                </tr>
                                <%--<tr><td colspan="3" style="padding:10px;">Phiếu chi thanh toán</td></tr>
                        <tr>
                            <td colspan="3">
                                <asp:GridView ID="GVChiTietTT" runat="server" AutoGenerateColumns="false" BackColor="White"
                                    BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="1" EmptyDataText="Không có dữ liệu nào"
                                    EnableModelValidation="True" ShowFooter="false" CssClass="form-control withall">
                                    <Columns>
                                        <asp:BoundField DataField="sopc" ItemStyle-CssClass="padding" HeaderText="Số PC"
                                            HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="sotienthanhtoan" ItemStyle-CssClass="padding" HeaderText="Số tiền"
                                            HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" />
                                    </Columns>
                                </asp:GridView>
                            </td>
                        </tr>--%>
                            </table>
                        </div></div></div>
                    </center>
                    <div>
                        <table style="margin-top: 15px; padding: 5px; margin-left: 50px; margin-right: 20px;">
                            <tr>
                                <td colspan="4" align="right">
                                    <asp:Button ID="Button7" runat="server" Text="In Phiếu TT" CssClass="btn btn-primary"
                                        OnClientClick="javascript:CallPrint('DivChi')" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </asp:Panel>
            <cc1:ModalPopupExtender ID="md" runat="server" CancelControlID="Image2" Drag="True"
                TargetControlID="hdDenNgay" BackgroundCssClass="modalBackground" PopupControlID="ctpc"
                RepositionMode="RepositionOnWindowResize">
            </cc1:ModalPopupExtender>
            <asp:Panel ID="ctpc" runat="server" Style="display: none;">
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="Image2" Width="30px" Height="25px" Style="cursor: pointer;" runat="server"
                                ImageUrl="img/close.ico" ToolTip="Đóng" />
                        </td>
                    </tr>
                </table>
                <div style="background-image: url('img/content.png'); background-repeat: repeat;
                    width: 1000px; box-shadow: 5px 5px 5px #888; border-radius: 10px; border: 1px solid #6EA1C0;
                    margin-top: -10px;">
                    <div style="background-color: #5B5B5B; color: White; font-weight: bold; border-radius: 5px 5px 0px 0px;
                        text-align: center; line-height: 26px; overflow: hidden;">
                        Chi tiết phiếu chi
                    </div>
                    <center>
                     <div style="width: 100%; margin-top: 10px; overflow: auto;" class="wrapper">
                            <div style="width: 100%; max-height: 500px;">
                        <div id="DivContent">
                            <table style="margin-top: 15px; padding: 5px; margin-left: 50px; margin-right: 20px;">
                                <tr>
                                    <td style="font-size: 15px;">
                                        CÔNG TY CPXD ĐỨC ANH
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <span style="margin: 70px;">Cộng hòa xã hội chủ nghĩa Việt Nam
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 15px;">
                                        <span style="margin: 5px;">CN BÊ TÔNG LÂM THAO</span>
                                    </td>
                                    <td style="font-size: 20px;" colspan="2">
                                        <span style="margin: 105px;">Độc lập – Tự do – Hạnh phúc</span>
                                    </td>
                                    <td colspan="2">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                    </td>
                                    <td colspan="3">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                    <td align="right" style="font-size: 20px;">
                                        Lâm Thao, ngày<asp:Label ID="pcngaythang" runat="server"></asp:Label>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" align="center" style="font-size: 22px;">
                                        PHIẾU CHI TIỀN MẶT
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Họ tên:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3" align="left">
                                        <asp:Label ID="pchoten" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Bộ phận:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3" align="left">
                                        <asp:Label ID="pcbophan" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Chức vụ:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3" align="left">
                                        <asp:Label ID="pcchucvu" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu chi:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3" align="left">
                                        <asp:Label ID="pcsophieuchi" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu TT
                                    </td>
                                    <td style="font-size: 20px;" colspan="3" align="left">
                                        <asp:Label ID="pctt" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;">
                                        Số phiếu thu:
                                    </td>
                                    <td style="font-size: 20px;" colspan="3" align="left">
                                        <asp:Label ID="pcpt" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" style="font-size: 16px;">
                                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" BackColor="White"
                                            BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="1" CssClass="form-pc"
                                            EmptyDataText="Không có dữ liệu nào" EnableModelValidation="True" ShowFooter="true"
                                            Width="880px">
                                            <Columns>
                                                <asp:BoundField DataField="NUMBER" HeaderStyle-HorizontalAlign="Center" HeaderText="STT"
                                                    ItemStyle-CssClass="padding1" ItemStyle-HorizontalAlign="Center" />
                                                <asp:BoundField DataField="noidung" HeaderStyle-HorizontalAlign="Center" HeaderText="Nội dung chi"
                                                    ItemStyle-CssClass="padding" ItemStyle-HorizontalAlign="Left" />
                                                <asp:BoundField DataField="sotienchi" HeaderStyle-HorizontalAlign="Center" HeaderText="Số tiền"
                                                    ItemStyle-CssClass="padding1" ItemStyle-HorizontalAlign="Left" />
                                            </Columns>
                                        </asp:GridView>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 20px;" colspan="4">
                                        Viết bằng chữ:
                                        <asp:Label ID="lbvietbangchu" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 25px;">Giám Đốc</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 65px;"> Thủ quĩ</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 35px;">Trưởng phòng HCTH</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 35px;">Người nhận tiền</span>
                                    </td>
                                </tr>
                                 <tr>
                                    <td colspan="4">
                                     <br />
                                    </td>
                                </tr>
                                 <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                       <br />
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="font-size: 18px;">
                                       Nguyễn Đức Anh
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 15px;"> Hoàng Thị Huyền Trang</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 65px;">Hà Thị Ngân</span>
                                    </td>
                                    <td style="font-size: 18px;">
                                        <span style="margin: 25px;"></span>
                                    </td>
                                </tr>
                            </table></div></div>
                        </div>
                    </center>
                    <div>
                        <table style="margin-top: 15px; padding: 5px; margin-left: 50px; margin-right: 20px;">
                            <tr>
                                <td colspan="4" align="right">
                                    <asp:Button ID="BtnIn" runat="server" Text="In Phiếu Chi" CssClass="btn btn-primary"
                                        OnClientClick="javascript:CallPrint('DivContent')" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </asp:Panel>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="Button9" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
